<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>管理员列表</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<link rel="stylesheet" href="admin/css/common.css" type="text/css" />
<link rel="stylesheet" href="admin/css/provider.css" type="text/css" />
<script type="text/javascript" src="js/jquery-1.7.1.js"></script>
<script type="text/javascript">
		
	</script>
</head>

<body>
	<div id="provider_zone">
		<form action="admin/listAdministrator.action" method="post">
			<table width="40%" border="0" align="center" cellpadding="3"
				cellspacing="2" class="table_style"
				style="color: #73938E;	font-size: 9pt; padding: 10px; margin:20px;" >
				<tr class="head">
					<th width="40%">管理员名字</th>
					<th width="60%">操作</th>
				</tr>
				<c:forEach items="${adminList}" var="item">
					<tr>
						<td align="center">${item.username }</td>
						<td align="center">
							<a href="admin/toEditAdministrator.action?adminId=${item.id }">编辑</a>
							<a href="admin/deleteAdministrator.action?adminId=${item.id }" onclick="return confirm('确定删除此管理员?');">移除</a>
						</td>
					</tr>
				</c:forEach>
			</table>
		</form>
	</div>
</body>
</html>
